<?php 
	function getShareUrl(){
		echo 'http://www.facebook.com/sharer.php?u=';
		echo urlencode($_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']);
		echo '&amp;t=';
		echo urlencode('SnapStitcher - Hyper Resolution Imagery, the Easy Way!');
	}
?>
	
	<div class="footer">
		
		<a href="http://www.seadragon.com/"><img alt="Powered by Seadragon" height="37" src="style/seadragon_logo.png" width="132" style="border:0px; float:left; vertical-align:middle;" /></a>
		
		<a name="fb_share" href="<?php getShareUrl();?>">
		<img alt="Share on Facebook" height="24" src="style/facebook.gif" width="125" style="border:0px; float:right; vertical-align:middle;" />
		</a>
		
		<div>Cambridge University - Computer Science Tripos
		<br /> Part 1B Project - Hotel Group 2010</div>
		
	</div>
